package sctu.edu.java.year2016.team07.nieying.practice.dibazhang.lianxiwu;

/**
 * Created by Administrator on 2016/5/26 0026.
 */
public class Manager extends Employee{
    private double bonus;
    public double getBonus(){
        return bonus;
    }
    @Override
    void display() {
        super.display();
        System.out.println("这是经理");
    }

    public void setBonus(double bonus){
        this.bonus=bonus;
    }

    @Override
    void like() {
        super.like();
        System.out.println("经理");
    }
}
